package com.taotao.manage.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import com.fasterxml.jackson.databind.ObjectMapper;

/**
 * 解决父子容器的问题
 * @author Beck
 *
 */
@Service
public class ProperttiesService {
	/**
	 * 上传的图片，保存的路径
	 */
	@Value("${TT_IMAGE_SAVE_PATH}")
	public String TT_IMAGE_SAVE_PATH;
	
	/**
	 * 访问图片的请求前缀
	 */
	@Value("${TT_IMAGE_URL}")
	public String TT_IMAGE_URL;
	
	public static final ObjectMapper MAPPER = new ObjectMapper();
	
}
